package xin.marcher.wind.process.annoations;

import org.springframework.context.annotation.Import;
import xin.marcher.wind.process.enums.XmlReadFromEnum;

import java.lang.annotation.*;

/**
 * @author marcher
 */
@Documented
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({ProcessNodeRegistrar.class, ProcessComponentScanConfig.class})
public @interface EnableProcessEngine {

    /**
     * 配置文件名称
     */
    String value();

    /**
     * 从哪加载配置文件
     */
    XmlReadFromEnum readFrom() default XmlReadFromEnum.CLASSPATH;

}
